# -*- coding: UTF-8 -*- #

propertis = ['login','user_email','user_password','user_date_register','locale']

class User():
    def __init__(self, user):
        for prop in propertis:
            try:
                setattr(self,prop,user[prop])
            except Exception:
                setattr(self,prop,None)

    @property
    def login(self):
        pass

    @property
    def user_email(self):
        pass

    @property
    def user_password(self):
        pass

    @property
    def user_date_register(self):
        pass

    @property
    def locale(self):
        pass